package com.gugee.ins.common.dal.service.blogger;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gugee.ins.common.model.mysql.blogger.InsRelBloggerFollower;

import java.util.List;

/**
 * InsRelBloggerFollowerDao
 * @author Huangxin
 */
public interface InsRelBloggerFollowerDao extends IService<InsRelBloggerFollower> {
    /**
     * 批量插入 博主和粉丝的关联信息
     * @param uid
     * @param insRelBloggerFollowerUid
     * @return
     */
    void batchInsertByUid(long uid,List<Long> insRelBloggerFollowerUid);

    /**
     * 删除 删除博主和粉丝的关联信息
     * @param uid
     */
    void deleteByUid(long uid);

    int countByUid(long uid);
}
